package com.mb.app.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.mb.app.domain.TbProductPrice;
import com.mb.app.dao.TbProductPriceMapper;
import com.mb.app.service.ITbProductPriceService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品价格  服务实现类
 * </p>
 *
 * @author liliping
 * @since 2019-04-02
 */
@Service
public class TbProductPriceServiceImpl extends ServiceImpl<TbProductPriceMapper, TbProductPrice> implements ITbProductPriceService {

    @Override
    public int insertSelective(TbProductPrice productPrice) {
        return this.baseMapper.insertSelective(productPrice);
    }

    @Override
    public List<TbProductPrice> getProductPriceList(Map<String, Object> map) {
        return this.baseMapper.getProductPrice(map);
    }

    @Override
    public TbProductPrice selectByIds(Map<String, Object> map) {
        return this.baseMapper.selectByIds(map);
    }
}
